/**  
 * All rights Reserved, Designed By Android_Robot   
 * @Title:  HuoDongListEvent.java   
 * @Package com.jiyi.event   
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: HYM     
 * @date:   2017-7-3 上午9:27:41   
 * @version V1.0     
 */
package com.jiyi.event;

import java.util.List;

import com.jiyi.bean.maintenance.RepairTask.RepairTaskItem;

/**
 * @ClassName: HaoYouListEvent
 * @Description:TODO(这里用一句话描述这个类的作用)
 * @author: HYM
 * @date: 2017-7-3 上午9:27:41
 * 
 */
public class RepairTaskListEvent {
	//1：我的任务列表 0 全部 1 待维修 2 已完成
	public int type = 0 ;
	public final static int ALL_LIST = 0;
	public final static int REPAIR_LIST = 1;
	public final static int FINISH_LIST = 2;
	//已废弃----需要刷新的功能点 1：完成一个故障报表的填写  2 完成一个临检报表的填写 3 完成全部的临检报表 4 完成全部的正常检测记录
	//需要刷新的功能点 1：完成一个申报
	public int func;
	public List<RepairTaskItem> malfunctionItems;
	public RepairTaskItem repairTaskItem;
	public int position,childPosition;
	public String remark;
	
	
	public RepairTaskListEvent(int type) {
		this.type = type;
	}
	
	public RepairTaskListEvent(int type,int position,List<RepairTaskItem> malfunctionItems,int func) {
		this.type = type;
		this.position = position;
		this.malfunctionItems = malfunctionItems;
		this.func = func;
	}
	
	public RepairTaskListEvent(int type,int position,RepairTaskItem repairTaskItem,int func) {
		this.type = type;
		this.position = position;
		this.repairTaskItem = repairTaskItem;
		this.func = func;
	}
	
	public RepairTaskListEvent(int type,int position,int childPosition,RepairTaskItem repairTaskItem,int func) {
		this.type = type;
		this.position = position;
		this.childPosition = childPosition;
		this.repairTaskItem = repairTaskItem;
		this.func = func;
	}
	
	public RepairTaskListEvent(int type,int position,int func) {
		this.type = type;
		this.position = position;
		this.func = func;
	}
	
	public RepairTaskListEvent(int type,int position,String remark,int func) {
		this.type = type;
		this.position = position;
		this.remark = remark;
		this.func = func;
	}
}
